package com.cxb.receiver;

import com.cxb.service.ScreenMonitor;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class ScreenFocusReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		ScreenMonitor.lastFocusTime = System.currentTimeMillis();
		Log.i("test", "====ScreenFocusReceiver");
		context.sendBroadcast(new Intent(
				ScreenMonitor.ACTION_SCREEN_MONITOR_SHOW));
	}

}
